package com.text.day1_3;

public class JiJiu {
    public static void main(String[] args) {
        long ac = 0;
        long cot = 0;
        for (int i = 0; i < 10; i++) {
            ac = ac*10+9;
            System.out.println(ac);
            cot += ac;
        }
        System.out.println(cot);
    }
}
